package com.ssqdx.demo01;

/**
 * @author asus
 * @date 2021/6/8 08:16:39
 * @description
 */
public class Proxy implements Rent {
    Host host = new Host();

    public Proxy() {
    }

    public Proxy(Host host) {
        this.host = host;
    }

    public void rent() {
        seehouse();
        hetong();
        fare();

    }
    public void seehouse(){
        System.out.println("中介带你看房");
    }
    public void hetong(){
        System.out.println("中介带你签合同");
    }
    public void fare(){
        System.out.println("收中介费");
    }


}
